package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Setter@Getter
public class CustomerPlan {

    public static final int RESULT_NICE = 3;
    public static final int RESULT_WELL = 2;
    public static final int RESULT_BAD = 1;

    public static final int STATUS_PLAN = 0;
    public static final int STATUS_FOLLOW = 1;


    private Long id;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date date; //计划时间

    private String subject; //计划主题

    private String detail;  //计划详情

    private DictionaryDetail type; //实施方式

    private Integer result; //执行结果

    private String remark; //备注

    private Customer customer;

    private Employee inputUser;

    private Integer status;

}